package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 请假记录对象 student_leave
 * 
 * @author ruoyi
 * @date 2023-03-29
 */
public class StudentLeave extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long studentLeaveId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 请假原因 */
    @Excel(name = "请假原因")
    private String reason;

    /** 是否通过 */
    @Excel(name = "是否通过")
    private Long state;

    public void setStudentLeaveId(Long studentLeaveId) 
    {
        this.studentLeaveId = studentLeaveId;
    }

    public Long getStudentLeaveId() 
    {
        return studentLeaveId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentLeaveId", getStudentLeaveId())
            .append("studentId", getStudentId())
            .append("reason", getReason())
            .append("state", getState())
            .toString();
    }
}
